package com.kaili.pojo.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author cgm
 * @since 2018-05-08
 */
@TableName("hs_opt_arrive")
public class HsOptArrive implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 业务流水号
     */
    @ApiModelProperty("业务流水号")
    @TableId("operation_id")
    private String operationId;
    /**
     * 运单号
     */
    @ApiModelProperty("运单号")
    @TableField("ewb_no")
    private String ewbNo;
    /**
     * 扫描网点id
     */
    @ApiModelProperty("扫描网点id")
    @TableField("site_id")
    private Integer siteId;
    /**
     * 扫描时间
     */
    @ApiModelProperty("扫描时间")
    @TableField("scan_time")
    private Date scanTime;
    /**
     * 上一网点id
     */
    @ApiModelProperty("上一网点id")
    @TableField("prior_site_id")
    private Integer priorSiteId;
    /**
     * 目的网点
     */
    @ApiModelProperty("目的网点")
    @TableField("destination_id")
    private Integer destinationId;
    /**
     * 数据来源
     */
    @ApiModelProperty("数据来源")
    @TableField("scan_source_id")
    private Integer scanSourceId;
    /**
     * 设备编号
     */
    @ApiModelProperty("设备编号")
    @TableField("device_code")
    private String deviceCode;
    /**
     * 件数
     */
    @ApiModelProperty("件数")
    private Integer piece;
    /**
     * 重量
     */
    @ApiModelProperty("重量")
    private BigDecimal weight;
    /**
     * 体积
     */
    @ApiModelProperty("体积")
    private BigDecimal vol;
    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    @TableField("created_by")
    private Integer createdBy;
    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @TableField("created_time")
    private Date createdTime;
    /**
     * 修改人
     */
    @ApiModelProperty("修改人")
    @TableField("modified_by")
    private Integer modifiedBy;
    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    @TableField("modified_time")
    private Date modifiedTime;
    /**
     * 是否删除标识  1未删除  0 已删除
     */
    @TableField("rd_status")
    private Integer rdStatus;

    @ApiModelProperty("来源,1标示web端,2标示PDA端")
    @TableField("source_type")
    private Integer sourceType;


    public String getOperationId() {
        return operationId;
    }

    public void setOperationId(String operationId) {
        this.operationId = operationId;
    }

    public String getEwbNo() {
        return ewbNo;
    }

    public void setEwbNo(String ewbNo) {
        this.ewbNo = ewbNo;
    }

    public Integer getSiteId() {
        return siteId;
    }

    public void setSiteId(Integer siteId) {
        this.siteId = siteId;
    }

    public Date getScanTime() {
        return scanTime;
    }

    public void setScanTime(Date scanTime) {
        this.scanTime = scanTime;
    }

    public Integer getPriorSiteId() {
        return priorSiteId;
    }

    public void setPriorSiteId(Integer priorSiteId) {
        this.priorSiteId = priorSiteId;
    }

    public Integer getDestinationId() {
        return destinationId;
    }

    public void setDestinationId(Integer destinationId) {
        this.destinationId = destinationId;
    }

    public Integer getScanSourceId() {
        return scanSourceId;
    }

    public void setScanSourceId(Integer scanSourceId) {
        this.scanSourceId = scanSourceId;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public Integer getPiece() {
        return piece;
    }

    public void setPiece(Integer piece) {
        this.piece = piece;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public BigDecimal getVol() {
        return vol;
    }

    public void setVol(BigDecimal vol) {
        this.vol = vol;
    }

    public Integer getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Integer createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Integer getModifiedBy() {
        return modifiedBy;
    }

    public void setModifiedBy(Integer modifiedBy) {
        this.modifiedBy = modifiedBy;
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public Integer getRdStatus() {
        return rdStatus;
    }

    public void setRdStatus(Integer rdStatus) {
        this.rdStatus = rdStatus;
    }

    public Integer getSourceType() {
        return sourceType;
    }

    public void setSourceType(Integer sourceType) {
        this.sourceType = sourceType;
    }

    @Override
    public String toString() {
        return "HsOptArrive{" +
        ", operationId=" + operationId +
        ", ewbNo=" + ewbNo +
        ", siteId=" + siteId +
        ", scanTime=" + scanTime +
        ", priorSiteId=" + priorSiteId +
        ", destinationId=" + destinationId +
        ", scanSourceId=" + scanSourceId +
        ", deviceCode=" + deviceCode +
        ", piece=" + piece +
        ", weight=" + weight +
        ", vol=" + vol +
        ", createdBy=" + createdBy +
        ", createdTime=" + createdTime +
        ", modifiedBy=" + modifiedBy +
        ", modifiedTime=" + modifiedTime +
        ", rdStatus=" + rdStatus +
        "}";
    }
}
